<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>

<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<link rel="stylesheet" href="../layui/css/layui.css">
<script src="../layui/layui.js"></script>
<style type="text/css">
    body {
        color: #666666;
        font-size: 16px;
    }
    form {
        width: 400px;
        margin-top: 20px;
        margin-left: 10px;
    }
    #name {
        height: 38px;
        line-height: 38px;
        float: left;
    }
    #text {
        color: #666666;
        font-size: 16px;
        font-weight: 600;
        width: 180px;
        float: left;
    }
    #btn {
        float: left;
        margin-left: 5px;
    }
</style>
<form action="updateCategory" method="post">
    <div id="name">分类名称：</div>
    <input type="hidden" name="id" value="${category.id}">
    <input id="text" class="layui-input" name="name" value="${category.name}" autocomplete="off">
    <button type="submit" id="btn" class="layui-btn">修改</button>
</form>